import { PropType } from 'vue';
declare type dateType = 'time' | 'date' | 'dateTime';
export const datePickerProps = {
	name: {
		type: String,
		require: true,
	},
	value: {
		type: String,
	},
	format: {
		type: String,
		default: 'yyyy-MM-dd HH:mm:ss',
	},
	dateType: {
		type: String as PropType<dateType>,
		default: 'date',
	},
	placeholder: {
		type: String,
		default: '请选择日期',
	},
	disabled: {
		type: Boolean,
		default: false,
	},
	readOnly: {
		type: Boolean,
		default: false,
	},
};
